Skip to content

[examples] Use CCD for example scene#6159

Open
bakpaul wants to merge 3 commits into
sofa-framework:masterfrom
bakpaul:26_06_use_ccd_in_falling_sofa_scene
Open

[examples] Use CCD for example scene#6159
bakpaul wants to merge 3 commits into
sofa-framework:masterfrom
bakpaul:26_06_use_ccd_in_falling_sofa_scene

Conversation

@bakpaul

@bakpaul bakpaul commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Use the CCD collision detection in the example scene to remove the bad looking skinning effect (not very good for showcasting).

The downside is that we have a 20% reduce in performances (on my computed we went from 240 fps to 190)

[with-all-tests]
[ci-depends-on https://github.com/sofa-framework/Regression/pull/115]


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@bakpaul bakpaul added pr: enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request labels Jun 16, 2026
@bakpaul

bakpaul commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

[ci-build][with-all-tests]

@fredroy fredroy force-pushed the 26_06_use_ccd_in_falling_sofa_scene branch from 288c8f1 to f4a9b24 Compare June 18, 2026 09:43

@hugtalbot hugtalbot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to have a dedicated scene example for CCD
Moreover, your change added a warning in the scene :

[WARNING] [CCDTightInclusionIntersection(CCDTightInclusionIntersection)] Required data "alarmDistance" has not been set. Falling back to default value: 1

@sofabot

sofabot commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

[ci-depends-on] detected during build #4.

To unlock the merge button, you must

@sofabot

sofabot commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

[ci-depends-on] detected during build #5.

To unlock the merge button, you must

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants